package com.whj;

import com.whj.mapper.ArticleMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

/**
 * @Auther: wanghaijun
 * @Date: 2023/6/6 - 06 - 06 - 18:14 
 * @Description: com.whj
 */

@SpringBootTest(classes = HaiJunAdminApplication.class)
public class test {

    @Autowired
    private ArticleMapper articleMapper;
    @Test
    public void testArticleMapper(){
        List<Long> list = articleMapper.selectTagList(6l);
        for (int i = 0; i < list.size(); i++) {
            System.out.println("i = " + i);
        }
    }
}
